package cc.uncarbon.module.appapi.model.response;

import cc.uncarbon.framework.core.enums.EnabledStatusEnum;
import com.baomidou.mybatisplus.annotation.TableField;
import com.yanrumiao.entity.StaffEntity;
import com.yanrumiao.enumns.OrdersStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.time.LocalDate;

//订单中的预约记录
@Accessors(chain = true)
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class OrdersTimeBO implements Serializable {
    private Long id;

    @Schema(description = "订单id")
    private Long orderId;

    @Schema(description = "项目id")
    private Long itemId;

    @Schema(description = "技师id")
    private Long staffId;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "预约时间")
    private String time;

    @Schema(description = "预约日期")
    private LocalDate date;

    @Schema(description = "")
    private OrdersStatusEnum status;

    @Schema(description = "预约技师")
   private StaffEntity statffInfo;
}
